package cn.lianwei.yonyong.pojo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.*;
import lombok.Data;
import org.apache.poi.ss.usermodel.HorizontalAlignment;

@Data
@HeadStyle(horizontalAlignment = HorizontalAlignment.LEFT)
@HeadFontStyle(fontHeightInPoints = 12)
@ContentFontStyle(fontHeightInPoints = 10, fontName = "宋体")
@ContentStyle(wrapped = true, horizontalAlignment = HorizontalAlignment.LEFT)
public class Xsjbxx {

    @ExcelIgnore
    private int id;

    @ExcelProperty("学号")
    @ColumnWidth(20)
    private String xh;

    @ExcelProperty("姓名")
    @ColumnWidth(20)
    private String xm;

    @ExcelProperty("年纪")
    @ColumnWidth(20)
    private String nj;

    @ExcelProperty("班级")
    @ColumnWidth(20)
    private String bj;

    @ExcelProperty("课程名称")
    @ColumnWidth(20)
    private String kcmc;

    @ExcelIgnore
    private String cj;

    @ExcelProperty("平均分")
    @ColumnWidth(20)
    private String avgCj;



}